/*
 * @Author: your name
 * @Date: 2022-03-07 09:41:52
 * @LastEditTime: 2022-03-07 09:43:02
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \trace-source-web\src\api\agr-safety-evaluation\evaluation-result-history\index.js
 */
/*
 * @Description: 评价管理
 */
import zhreq from "@/api/axios";
export default {
  /**
   * @description: 条件查询指标结果
   */
  getlist(params) {
    return zhreq.post("/v3/evaluation/evaluationIndexResult/queryByCondition", {
      ...params,
      "organizationNo": sessionStorage.organizationNo
    });
  },
  /**
   * @description: 条件查询指标历史结果
   */
  gethistorylist(id) {
    return zhreq.post(`/v3/evaluation/evaluationContentResult/queryHistory?indexResultId=${id}`
    );
  },
  /**
   * @description: 条件查询指标名称
   */
  getevalname(id) {
    return zhreq.post("/v3/evaluation/evaluationIndex/queryByCondition", {
      // "evaluationIndexId": id,
      "organizationNo": sessionStorage.organizationNo
    });
  }
};

